package com.ruoyi.proSystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * html上传表单对象 pro_html
 *
 * @author ruoyi
 * @date 2024-07-28
 */
public class ProHtml extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** html数据 */
    @Excel(name = "html数据")
    private String htmlItem;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer pid;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setHtmlItem(String htmlItem)
    {
        this.htmlItem = htmlItem;
    }

    public String getHtmlItem()
    {
        return htmlItem;
    }
    public void setPid(Integer pid)
    {
        this.pid = pid;
    }

    public Integer getPid()
    {
        return pid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("htmlItem", getHtmlItem())
                .append("pid", getPid())
                .toString();
    }
}
